fix bug where invalid position file was required and not optional