found the actual problem with $niceblue and fixed it