fixed bug for new installations