little fix on require