fix in schedule adapter