fix continue flag