Fixed part of problem on enter command