Integer cannot be cast to Short :(