fixes bug on first use