fixed some positioning errors