Cleaned up input clear