Having a problem with state filing