nil check for styles