Fix for sequence