fixing call to wordprocessormode