fixing 2 more errors

they are currently not working