fix rgba is not correct