fixes bug in good