fixes bug in previous commit (continue)