crash fix
fixed the error for 3