Bug on parsing parameters of methods