Trying to prevent error