Bug in setRight