Fixed result bug