Insights on the correlation of precursor solution, morphology of the active layer and performance of the pervoskite solar cells