Removed unused imports, added safe guard on sign creation