fixing required before in download