fixed naming inconsistency. Fixed bug where non-nil pics on err cause entire orientation process to fail.