fix a few errors and warnings on akvarium