fixing my own stupidity