simplifying bug further