fixed blur compiler errors and condensed some lines