Bug on sql avatar