image scaling needs fix