added check for no marker fragments