fixing positioning bug