clear static method error