fixed firefox alignment bugs