Added check for style empty object vs existance