Bug in reading arguments for controller