Some minor changes for frontend

frontend