fixing colour logic

fixing issues with colour logic introduced with queue