Found the bug. Damn semicolons...