corrected goofy error with nil method