add dep resolution for prototype object