fix g.erl config retrieval
fix command alias query