fixed broken require stmt due to case