Fix bug parsing Method

name of first feature was being assigned to method itself