fixed some errors I had made with the input forms