use our internal apply helpers everywhere
fix "null can be undefined in strict mode"
Merge pull request #50 from codemix/49-apply-everywhere

use our internal apply helpers everywhere