set default value of inventory pos to 0
add buy view