make proper alignment