fixed bug where smart label box was ignored