Assert: fixed exception() return

this will trigger error if the variable is not defined, isset hides such mistake