Fixed problem with dirty inouts