fixed code style and deleted consistent_mode directive