Fixed some potions NPE.

Signed-off-by: William Lebel <lebelwilliam@gmail.com>