Removed crash in program