working out bugs with dir submission