positioning bug fix