fixing ujjwal's bug

I believe this fixes the Object.create issue.