My editor didn't use spaces for tabs, and although in my editor it showed like a 4 space indent it was actually a tab, and github syntax highlighter uses a 2 space for a literal tab. Thanks for pointing that out.