Fixed min file crashes