fixed http500 error for wrong url name