fixed validateion for new entries instead of just editing entries