fixed bug introduced by delete-404 feature