fix bug with getting class metadata