fix RGB/BGR issue (maybe)