fixed typedefs for dotpoint