Fixed a flow control bug in Night.resolver()