hopefully fixing img nonsense