fix bug to increase performance