fixed, bad but works