positioning debugged and fixed