fixed bug with axes locations