fix docks for generating