remove default location drawing
code for inlining