type error to drawer-main