fixes for label pdf