do not send empty input fields to crud