hopefully fixes bug