fixed wrongly exported variables