Fixed answer creation error & completed basic stats page
fixed layout script