Issue with generated styles