fixed FUCKING damn object casts =)