fix to defined