Strangely missing line in controller