improved label positioning