Fixed the null return from getPrice method