fix height
fix `avatar_url` macro
set up the error handler earlier