sanity check added
rendering in processing section fixed, cleanup