fixed formatting and cleared data input fields