Fixed small bug on primary style