Big bad bug fixed

Sometimes I feel like I should not try to code :)