Offset and aligment bug fixed.