Fixed some error on method createAction