hopefully fixes erros