Fix bug in validting price