deleted unnecessary line
fixed string truncating for entrance/exit labels
Merge branch 'dev'