fix a bug about lose require