fixing CS error