Prevent possible errors