minor bug fix, type editor added