fix the price calculator when does not come dates like parameters