img is not an integer top kek