Fixed errors due to non-compile coding ;)