Removed duplicated code, variables,

renamed variable names with typo (Crash instead of "crush")