Unnecessary typecast removed
#467