Bypass condition check throws an error