fix stages