fix detail type