Fixed errors relating to unexpected end of input