fixed cleared inputs