Bug fixed with coaleced method