Fixed 500 on not found.