fixed: images'master was ambigous. fixed: reset function didn't work correctly