fix strange bug in cerberus