remove unused code as it seems to be causing an error.