image onload problem solved