Parse errors due to typecast conversion

#491