fix 508 error, second attempt