Invalid pointer fix and getClass fix