accept jpeg in avatar