Corrected unforseen syntax issues