starapi: fix variable names