attempting bug fix