fixed figure alignment issues