* fix the type errors when the pixels are to large