fixed some of the previously broken functions