Fix bug with mysql error when addin an empty url !
Remove apvalue debug prints