fixed beer edit bug