patch the missing method