fix bug require