fixed functions vars