small bug fix with alpha cannel