Removes check for undefined error