more validation fixes for id