fix usage of assert for release build