Fix bad callback and style scoping