added error checking for if there is no price found