BUG: motion corr never ran due to bad if