Optimization label bugfix