fixed issues with require path