fixing intend issue