fixed reverse inputs