Clean some useless code
Fix number of needed input (client side) to actually send input (server side)