make number input layer work