fixed bug for next block color