bug fix to test later