fixed bug introduced in last commit lolz