Fixed unnecessary var to val