bugfixes to approval process