fix runtime warning
fix seed callbacks