fix redirect when register had been broken
--amend
fix android_get_class_detail_layout