Solved bug. TODO check if error is really returned when matching fs already exists