Solved exceptions in labelapipreprocessor