rectifying image problem-attempt 2