fixed a bug in view method of subscription controller