Fixed error, occuring during functional testing