fixed problem with first few variables