fixed issue with deleted class