Resolved class error