Fix:CS switch

Signed-off-by: Miroslav Safr <Miroslav.Safr@gmail.com>