Fixed flags issue
cp1