fixed inputs and added disabled directive