fix issue on empty forms