limiting the max API to 6. Targit is 4
Merge pull request #226 from menny/API4_6

limiting the max API to 6. Target is 4.