basic fix to throw exception