Calling wrong class