fixed bug: methoc exists check.