fixed code displying at bottom