fixed wrong parsing on methods in values