Calc problems due wrong indentation fixed