resolving require package error