fixed some fs stuff