fix bug due to hardcoding