fixed array offset bug, and background with a target in it