fix indentation error of on_get() method