for pre 1.7 mccore
new commit