fix posiotion bugs