fixed the postion issue