the object had a negative scale in it i just set it to positive and then freezed transformation moved it to the place i wanted and the freeze transformation again it worked but thanks for pointing the negative scale thing thats what helped me thanks