fixing the issue when calling engine's prototype chain from helpers