refactoring: syntax corrections
refactoring: use variable to simplify array element usage
fixed: does not work anymore for ?style=mine