bug fixing, back and download buttons