to prevent error