fixed bug when called from strict mode
minor change for AMD