Revert "add missing precondition"

This reverts commit 5af50143616849a66d77a619f628a2220d49a8ad.

reason: the problem was caused by a bug in restapi, not a missing
precondition