fixed some writting errors
super excessive casting