solution before publish