potential bug should now be fixed