fix entityID validation form
was missing checking agains whitespaces inside