Bugfix for karma. Syntax be crazy