Fixed pdate bug between rows and colors