Fixed bug on availability update
Fixed bug on availability update