Fix nil method calling