fix 'hide_original_method' method