minor fix on rgb function, it now can actually return rgba