fixed firefox issue. Added buttons