bug with custom styles