fix class/struct missmatch