Fixed aesthetics issue in layout and php error