bug fix on lcd constructor