Fix for issue #24 (https://github.com/fidelram/deepTools/issues/24)