Styles corrected, endless recursion fixed