Fixed attempted to call nil issue on ln 208.