attempts to fix alignment issues