fix: missing import
fix return, debug flags