fix #2 NullPointerException on metered methods with complex signatures