fix broken editor for int/double