fixed a bug with live version