fix: requireAs works not properly