problems resolved without lint or optimization