fixed floating issue with figures