fix bracket issue