correction for error 500, actionBuy bus variable