fix positiong bug