updated button compatibility