corrected coords transform, some axes drawing code