some fixes with pixels