Fixed adjust price function, thanks @lucasstark for reporting