fixed a bug where no paramater is taken as user