fix in case when there are inputs in content