fixed next question link bug and added last_q #