Revert "protect from undefined"

This reverts commit d0edf2341f5ce255884ce4f4de2dc4ab0230a4a3.