resolved bug, second try