fixed hardcoded my-type bug