fixed broken inputs