trying to fix discrepancy to deeplearning tutorials