remove warnings, fix coordinates