bug fixes, middle content added and fixed