we should check the full class name not just the name