ensure migrations can callback; added debug