move avatar position to right place
format source code