fix hash after submit