Fatme/fix debug

Should fix this http://teampulse.telerik.com/view#item/266559