input clears after submit