Fixed console edit bug