Fixing 'invalid prices' errors