fix slug change errors