Removed trailing whitespace and tried to protect labler against import errors