stripes image fix and cleaned up code